import java.io.*;

public class TeSerialiseren implements Serializable {

	private static final long serialVersionUID= 2L;
	private int bewaardGetal;
	private boolean jaOfNee;
	
	public TeSerialiseren(boolean jaofnee,int getal,double getal2){
		this.bewaardGetal=getal;
		this.jaOfNee = jaofnee;
	}

	public int getBewaardGetal() {
		return bewaardGetal;
	}
	public void setBewaardGetal(int bewaardGetal) {
		this.bewaardGetal = bewaardGetal;
	}
	
	public boolean getBoolean(){
		return jaOfNee;
	}
	
	public int getKwadraat(){
		return bewaardGetal*bewaardGetal;
	}
}
